<?php namespace module\user;

use module\HdSite;

class Site extends HdSite {


//    前台页面
    public function AdminIndex(){
        $data = Wx::instance(User)->getUserLists();
        $User = [];
        foreach ($data['data']['openid'] as $k => $v){
            $User[] = Wx::instance(User)->get($v);
        }
//        p($User);
        View::with('User',$User);
        $this->display('User_lists');
    }


}